package base;
import java.util.*;

/**
 * @author lzq
 */
public class Coffee extends Product {

    private String origin;

    private String roast;

    private String flavor;

    private String aroma;

    private String acidity;

    private String body;
    /**
     * default constructor
     */
    public Coffee(String code,String description,double price,int number,String origin,String roast,String flavor,
                       String aroma,String acidity,String body) {
        super(code,description,price,number);
        this.origin = origin;
        this.roast = roast;
        this.flavor = flavor;
        this.aroma = aroma;
        this.acidity = acidity;
        this.body = body;
    }

    /**
     * @param origin
     * setOrigin
     */
    public void setOrigin(String origin) {
        this.origin = origin;
    }

    /**
     * @param roast
     * setRoast
     */
    public void setRoast(String roast) {
        this.roast = roast;
    }

    /**
     * @param flavor
     * setFlavor
     */
    public void setFlavor(String flavor) {
        this.flavor = flavor;
    }

    /**
     * @param aroma
     * setAroma
     */
    public void setAroma(String aroma) {
        this.aroma = aroma;
    }

    /**
     * @param acidity
     * setAcidity
     */
    public void setAcidity(String acidity) {
        this.acidity = acidity;
    }

    /**
     * @param body
     * setBody
     */
    public void setBody(String body) {
        this.body = body;
    }

    /**
     * show Product
     */
    public void showProduct() {
        super.showProduct();
        System.out.println(origin+" "+roast+" "+flavor+" "+aroma+" "+acidity+" "+body);
    }

}